//
//  SLProductViewModel.h
//  StarLight
//
//  Created by Duke.wu on 16/5/18.
//  Copyright © 2016年 Duke.Wu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SLNearlyShip.h"


@class SLGoodsDetailModel; @class SLMoreGoodsModel;
@class Goods;
@interface SLNearlyProductDetailViewModel : NSObject

#pragma mark - Detail
@property (nonatomic, strong) SLGoodsDetailModel *detailModel;
- (instancetype)initWithGid:(NSString *)gid;
- (void)connectGoodsOwner;

#pragma mark - More
@property (nonatomic, strong) SLMoreGoodsModel *moreModel;
- (instancetype)initWithHid:(NSString *)hid;
- (void)refreshWith:(NSString *)hid;
@end


@interface SLGoodsDetailModel : NSObject
/**货物重量*/
@property (nonatomic, copy) NSString *hwzw;
/**抵达港口*/
@property (nonatomic, copy) NSString *ddgk;

@property (nonatomic, copy) NSString *ddy;

@property (nonatomic, copy) NSString *hid;
/**货主id*/
@property (nonatomic, copy) NSString *hzid;
/**截止日期*/
@property (nonatomic, copy) NSString *jzrq;

@property (nonatomic, copy) NSString *qsy;
/**信息备注*/
@property (nonatomic, copy) NSString *xxbz;
/**起始港口*/
@property (nonatomic, copy) NSString *qsgk;

@property (nonatomic, copy) NSString *qsx;

@property (nonatomic, copy) NSString *ddx;
/**包装形式*/
@property (nonatomic, copy) NSString *bzxs;
/**货物名称*/
@property (nonatomic, copy) NSString *hwmc;
/**货物价格*/
@property (nonatomic, copy) NSString *hwjg;
/**发货日期*/
@property (nonatomic, copy) NSString *fhrq;

@property (nonatomic, copy) NSString *hwnum;
/**货主头像*/
@property (nonatomic, copy) NSString *headPhoto;
/**货主名*/
@property (nonatomic, copy) NSString *name;
/**类型*/
@property (nonatomic, assign) NSInteger type;
/**发货日期*/
@property (nonatomic, assign) NSInteger role;

@property (nonatomic, copy) NSString *company;

@end

@interface SLMoreGoodsModel : NSObject

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *phone;

@property (nonatomic, assign) NSInteger hid;

@property (nonatomic, assign) NSInteger role;

@property (nonatomic, strong) NSArray<SLNearLyProduct *> *goods;

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, assign) NSInteger buddyState;

@property (nonatomic, copy) NSString *headPhoto;

@end




